package com.softdev.system.generator.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.Mapping;
import org.springframework.web.bind.annotation.RequestMapping;

import com.softdev.system.generator.util.RequestUtil;

import jakarta.servlet.http.HttpServletRequest;
import lombok.extern.slf4j.Slf4j;

/**
 * 代码生成控制器
 * 
 * @author zhengkai.blog.csdn.net
 */ 
@Controller
@Slf4j
public class TestController {
	@RequestMapping("test")
	public String test(HttpServletRequest request) {
		String body = RequestUtil.getRequestBody(request);
		log.info("请求消息体:{}", body);
		return "aaaaaaaaaaa";
	}
}
